package com.myapidemos.apps.app;

import com.example.myapidemos.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.RelativeLayout;

public class NotiticationDisplay extends Activity implements OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
				WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
		RelativeLayout container = new RelativeLayout(this);

		ImageButton button = new ImageButton(this);
		button.setImageResource(R.drawable.stat_happy);
		button.setOnClickListener(this);

		RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(
				RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
		lp.addRule(RelativeLayout.CENTER_IN_PARENT);

		container.addView(button, lp);

		setContentView(container);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub

	}

}
